import commonRouter from './commonRouter';
const routeTem:any=()=>import('@/components/routeTem.vue');
const defaultRoute:any=(path='')=>({
    path,
    redirect(toRoute:any):any{
        console.log(13124);  
        return {
             
             
             name:localStorage.getItem('citycollege')?'citycollegeHomeIndex':'citycollegeLogin'
         }
    }
});
const route:any={
    path:'citycollege',
    component:routeTem,
    children:[
        defaultRoute(),
        commonRouter,
        defaultRoute('*')
    ]
}
export default route;